Methods, devices and systems for data augmentation to improve fraud detection

ABSTRACT

A computer-implemented method of generating an augmented electronic text document comprises establishing a directed multigraph where each vertex is associated with a separate language and is connected to at least one other one of the vertices by an oriented edge indicative of a machine translation engine&#39;s ability to translate between languages associated with the vertices connected by the oriented edge with acceptable performance. The directed multigraph is then traversed starting at a predetermined origin vertex associated with an original language of the original electronic text document by randomly selecting an adjacent vertex pointed to by an oriented edge connected to the predetermined origin vertex and causing a machine translation engine to translate the original electronic text document from the original language to a language associated with the selected vertex. The directed multigraph is then further traversed as allowed by the oriented edges from the intermediate vertex to successive other next-adjacent connected vertices, each time machine translating a previously-translated electronic text document into a language associated with a randomly-selected next-adjacent vertex until the predetermined origin vertex is selected and the previously translated electronic text document is re-translated into the original language and designated as the augmented electronic text document.

BACKGROUND

The field of the disclosed embodiments encompasses text augmentation techniques that find utility in improving fraud detection. Herein, the word “fraud” includes any fraudulent scheme that may be perpetrated by email, text message, instant messaging or phone calls, in which the core of the fraudulent scheme is a text or other electronic message that leads the victim to perform an action desired by the criminal, such as a wire transfer or a disclosure of confidential information. Such fraudulent schemes often rely on social engineering. Phone calls are included herein because fraudulent phone calls can be placed by robocalls. These robocalls are included with the scope of the present disclosure as a recorded voice message may be generated from the processing of an electronic text document by a voice synthesizer.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a computer-implemented method for data augmentation to improve fraud detection, according to one embodiment.

FIG. 2 is a block diagram of a computer-implemented method for data augmentation to improve fraud detection, according to one embodiment.

FIG. 3 shows an example of an exemplary directed multigraph according to one embodiment.

FIG. 4 shows one particular implementation of an exemplary directed multigraph according to one embodiment.

FIG. 5 is a block diagram of a computer-implemented method for selecting and replacing elements within a text document of a corpus of electronic text documents, according to one embodiment.

FIG. 6 is a block diagram of a computer-implemented method for generating and selecting replacement elements within a text document of a corpus of electronic text documents, according to one embodiment.

FIG. 7 is a block diagram of a computer system for building a fraud detection model based on a merged corpus comprising an original corpus and an augmented corpus, according to one embodiment.

FIG. 8 is a block diagram of a computer system for using an augmented corpus to test a fraud detection model, according to one embodiment.

FIG. 9 is a block diagram of a computer system for using augmented data to train and/or to test users considered to be “at risk” within an organization.

FIG. 10 is a block diagram of a computing device with which embodiments may be practiced. FIG. 10 also shows examples of tangible computer-readable media configured to store computer-readable instructions that, when executed by a computing device, configure a general-purpose computer as a computing device that has been reconfigured to carry out the computer-implemented methods and the functionalities described and shown herein.

DETAILED DESCRIPTION

A large proportion of frauds are distributed by email. For example, advanced fee fraud has been reported since at least a decade. An advanced fee fraud attempts to defraud the recipient by promising him or her a significant share of a large sum of money in return for a small up-front payment, which the fraudster requires in order the obtain the large sum. If the victim pays the fee, then the fraudster either invents a series of further fees for the victim or simply disappears. Another example of such electronic text-based fraud is CEO fraud. In CEO fraud, the fraudster spoofs company email accounts and impersonates the CEO—or another senior executive—to fool an employee in accounting or HR into executing wire transfers or sending confidential information—such as W-2 tax information.

Here is an example of CEO fraud:

-   -   Subject: Same day payment     -   Hi Harry,     -   Hope your day is going on fine. I need you to make a same day UK         payment for me. Kindly email me the required details you will         need to send out the payment.     -   I will appreciate a swift email response.     -   Kind regards,     -   Jack

As noted above, the core of the fraudulent scheme is a text, which is thus amenable to Natural Language Processing technics associated with Supervised Classification to detect such frauds. As no malicious link and/or malicious attachment are included in the text of the electronic communication, these frauds cannot be detected with existing malicious link technologies and/or malicious attachment-related technologies. The performance of technology based on Natural Language Processing and/or Supervised Classification largely relies on the quantity and the quality of the labelled data. However, it can be very challenging—and sometimes even impossible—to collect sufficient data to build a performant fraud detection model.

For example, let us consider the case of CEO fraud. CEO fraud typically targets HR or accounting department of small & medium-sized businesses, requires the criminal to thoroughly study the organization and operation of the company to build a realistic fraud context, and may require additional actions by the fraudster, like conducting phone calls with the intended victim. CEO fraud cannot be automated and scaled, as can more widespread threats like phishing or malware. Furthermore, the criminal doesn't really need to scale, because quality matters more than quantity, as a single well-executed fraud can lead to significant financial gains. Consequently, it is extremely difficult to collect exemplars of such frauds. Indeed, as of this writing, the present inventors have been able to collect only three dozen instances of CEO frauds. Thus, what are needed, therefore, are methods augmenting the quantity of the labelled data, so that a performant fraud detection model may be constructed, even when actual exemplars of such frauds are few and far between.

Many data augmentation techniques exist to improve the generalization of models in image and speech recognition. Recently, data augmentation techniques have been used to enhance the quality of deep learning models that rely on convolutional neural networks. For example, in the image recognition field, a good model should exhibit invariance towards changes in viewpoint, illumination and should be tolerant to noise. To improve deep learning models in image recognition, data are typically augmented with geometric transformations (translation, scaling, rotation, flipping, cropping, elastic deformation), change in illumination or noise addition. For example, some data augmentation methods for images are based on occlusion and inpainting.

Similarly, in the speech recognition field, data may be augmented by adding artificial noise background, changing the tone or speed of speech signal, or may be based upon stochastic feature mapping.

In terms of text, it is not reasonable to augment the data using signal transformations as is done in the image and speech recognition fields, as these transformations are likely to alter the syntax and the meaning of the original text. One proposed approach is to replace words by their synonyms using a thesaurus. One such approach includes augmenting a dataset by representing it as a taxonomy after imputing the degree of membership of each record of the original dataset.

Text Augmentation Function

One embodiment includes a text data augmentation function. For practical purposes in this disclosure, such a function is called TextDataAugmentationFunction. This function takes a text document OriginalText as an input, and outputs a text document AugmentedText. As shown in FIG. 1, according to one embodiment, this function applies 1 . . . n successive transformations to OriginalText to produce AugmentedText, as shown at B102, B104. Each transformation performed may include a certain amount of randomness. After the successive transformations, OriginalText and AugmentedText may be compared to ensure that AugmentedText is still relevant. One metric that may be used is the semantic similarity measure between OriginalText and AugmentedText. As shown at B106, a similarity measure is computed for the resultant AugmentedText, based on OriginalText. If, as shown at B108, the similarity measure SimMeasure is greater or equal to a similarity measure threshold SimMeasureThreshold (Yes branch of B108), then the augmented text is kept as shown at B110. If, on the other hand, SimMeasure is less than the similarity measure threshold SimMeasureThreshold (No branch of B108), the successively-transformed AugmentedText is discarded, as shown at B112, and is not used for further training and may be discarded.

Because of the randomness that may be present in the 1 . . . n successive transformations performed, in one embodiment, the function TextDataAugmentationFunction may be non-deterministic. For example, consider:

-   -   AugmentedText₀=TextDataAugmentationFunction(OriginalText)     -   AugmentedText₁=TextDataAugmentationFunction(OriginalText)

Then, because the TextDataAugmentationFunction may be non-deterministic, it is highly likely that AugmentedText₀≠AugmentedText₁.

Consider the following data:

OriginalCorpus Corpus that contains distinct original text documents OriginalCorpusSize Number of distinct text documents in OriginalCorpus AugmentedCorpus Corpus that contains distinct augmented text documents AugmentedCorpusSize Number of distinct text documents in AugmentedCorpus where    AugmentedCorpusSize       ≤ OriginalCorpusSize       × AugmentationFactor AugmentationFactor Number of times TextDataAugmentationFunction is called for each original text document

To produce each augmented text document of AugmentedCorpus, the TextDataAugmentationFunction function is applied AugmentationFactor times on each original text document of OriginalCorpus.

Transformations

According to embodiments, several types of transformations may be used in the TextDataAugmentationFunction. These include, for example:

-   -   A transformation relying on multiple steps of machine         translation applied to the text;     -   A plurality of transformations relying on the replacement of         words or group of words in the text such as, for example:         -   Replacement of words or group of words with synonyms;         -   Replacement or words or group of words with abbreviations             (Similarly an abbreviation may be replaced by a word or             group of words); and/or         -   Replacement of words with misspellings,

Note that, according to embodiments, a transformation of a certain type can be applied a predetermined number (i.e., 0 . . . n) times. The order in which the transformations are applied may be significant. Indeed, replacing words with misspellings may affect the ability of some other transformations to process the text correctly. For example, a transformation that replaces correctly spelled words with words that contain misspellings may affect the ability of a later-applied transformation to find synonyms for the words containing misspellings. Some transformations may not be applied in certain use cases. For example, abbreviations and misspellings should not be used in the context of an augmented text document processed by a voice synthesizer, as some abbreviations and misspellings may not make sense in some instances.

Consequently, other embodiments of the TextDataAugmentationFunction may be used in the context of the present disclosure. FIG. 2 is a flowchart of a computer-implemented method according to one embodiment. FIG. 2, in particular, is one implementation of the computer-implemented method of claim 1, in which the transformations B102 . . . B104 are implemented as three consecutive transformations; namely, a transformation with multiple steps of machine translation, a transformation with synonym replacements and a transformation with misspelling replacements. One embodiment, therefore, includes a text data augmentation function. For practical purposes in this disclosure, such a function is called TextDataAugmentationFunction. This function takes a text document OriginalText as an input, and outputs a text document AugmentedText. As shown in FIG. 1, according to one embodiment, this function applies 1 . . . n successive transformations to OriginalText to produce AugmentedText, as shown at B102, B104. Thereafter, as shown at B106, a similarity measure, based on OriginalText, may be computed for the resultant successively-transformed AugmentedText. If, as shown at B108, the similarity measure SimMeasure is greater or equal to a similarity measure threshold SimMeasureThreshold (Yes branch of B108), then the augmented electronic text document is kept as shown at B110. If, on the other hand, SimMeasure is less than the similarity measure threshold SimMeasureThreshold (No branch of B108), the successively-transformed AugmentedText may be discarded, as shown at B112, and may not be used for further training.

Returning now to FIG. 2, block B202 calls for multiple step machine translation to be applied to the OriginalText. The resultant transformed OriginalText is then input to another transformation that replaces at least some of the words of the electronic text document presented at its input with synonyms, as shown at B204. The transformed output of B204 may then be input into yet another transformation as shown at B206 to, for example, transform some of the words at its input with words that contain misspellings. It is to be noted that a lesser or a greater number of transformations may be used, and other transformations may be used in addition or instead of the transformation functions shown in FIG. 2. Thereafter, as shown at B208, a similarity measure, based on OriginalText, may be computed for the resultant successively-transformed AugmentedText. If, as shown at B210, the similarity measure SimMeasure is greater or equal to a similarity measure threshold SimMeasureThreshold (Yes branch of B210), then the augmented electronic text document is kept as shown at B212. If, on the other hand, SimMeasure is less than the similarity measure threshold SimMeasureThreshold (No branch of B210), the successively-transformed AugmentedText may be discarded, as shown at B214, and may not be used for further training.

Machine translation has significantly improved in the last years. This improvement is due to the growing use of Neural Machine Translation. Neural Machine Translation typically use deep neural networks, and the performance observed is a direct consequence of the outstanding progress of deep neural networks-related technologies developed in recent years.

Transformation with Multiple Steps of Machine Translation

One embodiment includes a text augmentation method that may utilize multiple steps of machine translation. The following is defined:

t Original text v Augmentedtext L₀, L₁, . . . , L_(m) A list of m + 1 distinct languages L₀ is the language of t and v MT₀, MT₁, . . . , MT_(n) A list of n + 1 distinct machine translation engines Translate_(L) _(i) _(L) _(j) _(MT) _(k) Translate a text from L_(i) to L_(j) using MT_(k) machine translation engine TranslatePerf_(L) _(i) _(L) _(j) _(MT) _(k) Performance of translation from L_(i) to L_(j) using MT_(k) machine translation engine

Such multiple steps, therefore, may transform the original text from its original language to another language and from that language to yet another language or languages and thereafter (eventually) back to the original language of the original electronic text document. A greater or lesser number of intermediate steps may be performed.

FIG. 3 shows an example of directed multigraph according to one embodiment. The following constraints may hold:

-   -   Each vertex is an element of L=(L₀, L₁, . . . , L_(m));     -   Each oriented edge between L_(i) and L_(j) for a given MT_(k) is         defined by the capacity for a given MT_(k) machine translation         engine to translate from a language L_(i) to a language L_(j).         This capacity can also be conditioned by a translation         performance threshold TranslatePerfThreshold_(L) _(i) _(L) _(j)         , as the fact that a machine translation engine proposes a         translation from a language L_(i) to a language L_(j) does not         guarantee that the translation will be of sufficient quality;         and     -   The graph is strongly connected: for every pair of two distinct         vertices L_(i) and L_(j) in the graph, there is at least one         directed path between L_(i) and L_(j). The path between the         vertices L_(i) and L_(j) need not be a direct one and may         include an intermediate vertex or several intermediate vertices.

For example, as shown in FIG. 3, the MT₀ oriented edge from L₀ to L₂ indicates that machine translation engine MT₀ can translate from L₀ to L₂. Similarly, the MT₀ oriented edge from L₂ to L₀ indicates that machine translation engine MT₀ can translate from L₂ to L₀. The MT₃ oriented edge from L₃ to L₀ indicates that machine translation engine MT₃ can translate from L₃ to L₀. As no oriented edge from L₀ to L₃ is present, no machine translation engine is available to translate directly from L₀ to L₃. As no edges are present in the directed multigraph between L₃ and L₁, no machine translation engine is available to translate directly from L₃ to L₁ and from L₁ to L₃. To translate from L₃ to L₁ in the directed multigraph of FIG. 3, a path through L₂, possibly passing through L₀, must be taken. This may be because the translation performance threshold TranslatePerfThreshold_(L) ₃ _(L) ₁ may be below a predetermined threshold, which may be indicative of a poor performance of available machine translation engines between languages L₃ and L₁. That is, the absence of an oriented edge from L₃ to L₁ may be associated with a low translation quality indicium. Other relationships may become apparent upon study of this multigraph. Likewise, the exemplary directed multigraph of FIG. 2 disallows direct traversal from L₀ to L₃. Some other path, such as through the intermediary of vertices L₁ and/or L₂, must be taken to translate a given text document from the language associated with vertex L₀ to the language associated with vertex L₃.

A given input electronic text document t may be augmented, according to one embodiment, by traversing the directed multigraph starting at vertex L₀ and ending at vertex L₀, with the augmented electronic text document v beeing the result of the successive translations of t performed while traversing the graph.

An example of such is detailed hereunder:

-   -   Starting node is L₀, which may be termed the original language         of the original electronic text document. A vertex adjacent to         L₀ is randomly selected, such as L₂. An edge from L₀ to L₂ is         then randomly selected, such as MT₁. Perform the translation         with the selected vertex and edge: u←Translate_(L) ₀ _(L) ₂         _(MT) ₁ (t)     -   The current node is now L₂. A vertex that is adjacent to L₂ is         randomly selected, such as L₃. An edge from L₂ to L₃ is randomly         selected, such as MT₂. The translation from L₂ to L₃ using         machine translation engine MT₂ is then performed:         u←Translate_(L) ₂ _(L) ₃ _(MT) ₂ (u)     -   Now, the current node is L₃. A vertex adjacent to L₃ is randomly         selected: L₀. An edge from L₃ to L₀ is then randomly selected,         such as MT₃. This translation is then performed; namely:         u←Translate_(L) ₃ _(L) ₀ _(MT) ₃ (u)     -   The current node is again L₀ and the output of the last         transformation u may now be used as the augmented electronic         text document v: v←u

In this manner, the original electronic text document may be repeatedly translated, using at least one machine translation engine, such that each translated text document is used as a basis for a subsequent translation into another language by traversing the directed multigraph as allowed before re-translating the last-translated electronic text document back into an original language of the original electronic text document.

According to further embodiments, the following strategies may be applied such as, for example:

-   -   Vertices (L₁, . . . , L_(m)) may be marked as having been         explored and a constraint imposed to avoid exploring the same         vertex twice (or another predetermined number of time);     -   Use TranslatePerf_(L) _(i) _(L) _(j) _(MT) _(k) as a criterium         or some other translation quality indicium in the choice of an         edge from L_(i) to L_(j);     -   Utilize a probability distribution P to choose the next vertex.         For example, a uniform distribution over the vertex adjacent to         L_(i), noted {L_(i0), . . . , L_(iq)}, may be used, such that         P˜Unif{0, q}. Or, if TranslatePerf_(L) _(i) _(L) _(j) _(MT) _(k)         is considered as the weight of the vertex, those q+1 adjacent         vertices may be ordered in a list by decreasing weight, and a         geometric (or a uniform, Gaussian, Poisson or other)         distribution of parameter p may be used: P˜Geom(p), which         ensures that the probability of choosing a vertex with a low         TranslatePerf performance, relatively to the other adjacent         vertices, decreases with its position in the ordered list,         ensuring that a better performing translation engine will be         preferably chosen over a comparatively less performing         translation engine.

Other strategies may be devised and selectively applied.

FIG. 4 is a directed multigraph patterned on the directed multigraph of FIG. 3, with L₀ being the English language, L₂ being the French language and L₃ being the Spanish language. Vertex L₁, not traversed in this example, may be associated with some other language, such as German, for example. Consider the electronic text document t:

-   -   Please process immediately a wire transfer payment of $45,000.     -   It is an urgent invoice from the business attorney.     -   Banking instructions attached.     -   Thanks     -   William

With reference to the electronic text document t, the graph traversal path described in [0033], and the directed multigraph of FIG. 4, the following successive transformations are performed:

Translate_(English French MT) ₀ Veuillez traiter immediatement un virement bancaire de 45 000 $. C'est une facture urgente de l'avocat d'affaires. Instructions bancaires jointes. Merci William Translate_(French Spanish MT) ₂ Por favor, procede una transferencia bancaria de $45,000 inmediatamente. Es una factura urgente del abogado de negocios. Se adjuntan instrucciones bancarias. Gracias William Translate_(spanish English MT) ₃ Please proceed with a bank transfer of $ 45,000 immediately. It's an urgent bill from the business lawyer. Banking instructions are attached. Thanks William

Other successive transformation may be performed, including transformation other than language transformations, as detailed below.

Transformation by Augmenting Text with Replacements

According to one embodiment, text may be augmented by replacing elements of the text by other elements. The following transformations may be defined:

-   -   SynonymReplacement: A word or group of words may be replaced by         a synonym,     -   AbbreviationReplacement: A word or group of words may be         replaced by an abbreviation (Similarly we can replace an         abbreviation by a word or group of words),     -   EntityReplacement: An entity—such as first name or financial         amount—may be replaced by another similar entity,     -   MisspellingReplacement: A word may be replaced by a misspelling.

SynonymReplacement Transformation

A synonym is a word or a group of words that means exactly or nearly the same as another word or group of words in the same language. This transformation is perhaps the most intuitive one in term of data augmentation techniques available. The following table lists several examples of synonyms.

Word or group of words Synonym shut close industrial democracy worker participation

AbbreviationReplacement Transformation

An abbreviation is a short form of a word or a group of words. Note that abbreviations include acronyms. An acronym is a word formed from the first letter of each word of a group of words. The following table lists several examples of abbreviations.

Word or group of words Abbreviation account acct week wk as soon as possible ASAP close of business COB end of day EOD

EntityReplacement Transformation

Entities are elements that are present in the electronic text document and which replacement does not affect the meaning of the text. Example of entities include (but are not limited to):

-   -   First name of an individual;     -   Last name of an individual;     -   A financial amount;     -   A date; and     -   A phone number.

Transformations for a first name entity and a financial amount entity, respectively, may be named FirstNameEntityReplacement and FinancialAmountEntityReplacement. A first name entity may be replaced by another first name of the same gender, such as shown in the table below:

First name entity Replacement William John Sarah Elizabeth

A financial amount entity may be replaced by another financial amount that is similar in value, may be rounded and/or may be converted to another currency, as shown in the table below:

Financial amount entity Replacement $45,000 $47,200 $45,000 38K Euros

MisspellingReplacement Transformation

Misspellings are quite common in electronic text document:

-   -   Misspellings are often accidental,     -   Misspellings can result from a lack of knowledge in the written         language by the writer.     -   Misspellings can result from the device that is used to type the         text. For example, «abd» is a common misspelling of «and» on         Azerty and Qwerty keyboards because «B» key is close to «N» key.

Moreover, misspellings are quite common in the context of fraud because a) they can convey a sense of urgency and b) they are traditionally used to evade security technologies that are based on text analysis.

The table below shows a few examples of misspellings.

Word Misspelling Description achieve acheive Two letters are transposed embarrass embarass A letter is missing across accross There is an extra letter appearance appearence A letter is used instead of another because of their phonetic proximity in the word context and abd Typing misspelling

For example, consider the electronic text document:

-   -   Please proceed with a bank transfer of $45,000 immediately.     -   It's an urgent bill from the business lawyer.     -   Banking instructions are attached.     -   Thanks     -   William

Applying a plurality of replacements produces the following augmented electronic text document:

-   -   Please proceed with a bank transfer of $47,200 immediately.     -   It's an urgent invoice from the business lawyer.     -   Banking instructions are attached.     -   Thanks     -   John

To generate the augmented electronic text document immediately above, the following replacements were performed:

Original Replaced element element Transformation $45,000 $47,200 FinancialAmountEntityReplacement immediately immediatly MisspellingReplacement bill invoice SynonymReplacement William John FirstNameEntityReplacement

Such an augmented electronic text document retains the general meaning, flavor and syntax of the original electronic text document, while being a good candidate to be added to an existing fraudulent labelled data corpus for training, for example, of a supervised learning model that can detect CEO fraud.

Replacement Transformation

According to one embodiment, the type of an element drives the kind of replacement transformation that may be performed.

Element type Transformation Any word or group of words that SynonymReplacement is not an entity Any word or group of words that AbbreviationReplacement is not an entity Any entity that is a first name FirstNameEntityReplacement Any entity that is a financial FinancialAmountEntityReplacement amount Any word MisspellingReplacement

A replacement transformation, according to one embodiment, may include a source σ: this source provides, given an element e, a list of potential replacements r_(e) and an associated metric μ. According to one embodiment, the metric μ scores the replacement of e by r_(e):

-   -   The score is a continuous value in [0,1] interval     -   The higher the score, the closer the replacement r_(e) is to e

In one embodiment, a normalization function, such as Min-Max normalization, may be used to ensure that the metric provides a score with the aforementioned properties.

Below is an example of source and metric for each transformation. Note that if the source does not provide a metric, the metric returns 0, by definition.

Transformation Source Metric Synonym Thesaurus Semantic Replacement closeness Abbreviation List of common abbreviations Frequency of use Replacement FirstNameEntity List of first names of a given gender Popularity of first names Replacement of a given gender FinancialAmount A mathematic formula, for instance if we Proximity of financial EntityReplacement consider a replacement r_(a) of amount a: amounts, for instance: $r_{a} = {{ceiling}\mspace{14mu} \left( {{a + {{random}\mspace{11mu} \left( {{- \frac{a}{d}},\frac{a}{d}} \right)}},n} \right)}$ $1 - \frac{{r_{a} - a}}{a}$ where random(x,y) returns a random number in [x,y] interval and d > 1, ceiling(z, n) returns the value of z rounded to the next multiple of n and n is a natural number. For instance: ceiling(711.17, 10) = 720 Misspelling List of common misspellings Frequency of Replacement misspellings

The following data are defined:

t Original electronic text document v Augmented electronic text document e Original element ê Replaced element T_(e) Type of e. The type of element can be, but is not limited to {FirstNameEntity, FinancialAmountEntity, NotAnEntity, AnyOtherWord}. All the types are mutually exclusive i.e. an element can only have exactly one type. σ A source of knowledge. r_(e) A potential replacement for element e. μ Metric function to score replacement r_(e) of element e. γ_(r) _(e,) _(μ) A value associated to a replacement r based on the metric function μ. getType Return the type T_(e) of e. Formally, we have:     T_(e) = getType(e) generateReplacements Generate a list of potential replacements r_(e) for e. generateReplacements relies on a source σ that is associated to the type T_(e) of element e obtained using getType. Formally, we have:    r_(e) ← generateReplacements(e, σ) evaluateReplacement Return the value γ_(r) _(e,) _(μ) associated to the replacement r_(e) of element e given by the metric function μ. Formally, we have:   γ_(r) _(e,) _(μ) = evaluateReplacement(e, r_(e), μ) selectElements Identify a list of elements {e₀, . . . , e_(k)} of the same type T from text t that could be transformed and randomly selects l of them to be transformed given the probability distribution P. For example, we could use the uniform distribution over k + 1: P ~ Unif{0, k} Formally, we have: {e_(i), . . . , e_(j)} ← selectElements(t, P) of size l selectReplacement The algorithm is as follows:  1. given an element e, generate from the source σ a     list of potential replacements {r_(e,0), . . . , r_(e,n)} Using     n + 1 times the generateReplacements     algorithm on e;  2. calculate the value of each replacement r_(e,i) of e     using the metric function μ and the algorithm     evaluateReplacement.  3. sort the list by decreasing value;  4. randomly select an index k ∈ {0, n} given the     probability distribution P₁. For example, we could     use the geometric (for example) distribution of     parameter p: P₁ ~ Geom(p), which ensures that     highly valued replacements in the sorted list are     more likely to be selected;  5. return the chosen element e at index k of the list. Formally, we have:   ê ← selectReplacement(e, μ, P₁) replaceElements replaceElements takes the original text t, the list of elements to be replaced {e_(i), . . . , e_(j)} and their replacements {ê_(i), . . . , ê_(j)} and returns the augmented electronic text document v. Formally, we have:   v ← replaceElements(t, L, {circumflex over (L)}) With L ← selectElements(t, P) of length l + 1 and ∀i ∈ {0, l}, {circumflex over (L)}_(i) ← selectReplacement(L_(i), μ, P₁)

FIGS. 5 and 6 are flowcharts of a computer-implemented method of selecting and replacing elements for data augmentation, according to one embodiment. As shown therein, block B502 calls for selecting the elements {e_(i), . . . , e_(j)} from an electronic text document to be replaced. As shown in the table above, one embodiment calls for identifying a list of elements {e₀ . . . , e_(k)} of the same type T from electronic text document t that could be transformed and randomly selecting l of them to be transformed given the probability distribution P. For example, the uniform distribution over k+1 can be used for this purpose: P˜Unif{0, k}. Formally, this may be represented as {e_(i), . . . , e_(j)}←selectElements(t, P) of size l, as shown at block B502 in FIG. 5. Thereafter, blocks B504 through B506 (a variable number of functional blocks, depending upon the number of selected elements {e_(i), . . . , e_(j)}), replacements are selected for elements e_(i) to e_(j) by evaluating a function selectReplacement. According to one embodiment, the selectReplacement function detailed in the table above may be used to consecutively select the replacements for the selected elements. One embodiment of the selectReplacement function is shown in FIG. 6 and may be configured such that, given an element e, a list of potential replacements {r_(e,0), . . . , r_(e,n)} is generated from the source σ, using the generateReplacements algorithm on e, as shown at B602.

As shown at B604, the value of each replacement r_(e,i) of e may then be computed. According to one embodiment, the value of each replacement r_(e,i) of e may be computed using a metric function μ and an evaluateReplacement function. Such an evaluateReplacement function, as shown in the table above, may be configured to return a value γ_(r) _(e) _(,μ) associated with the replacement r_(e) of element e given by the metric function μ, represented formally as γ_(r) _(e) _(,μ) =evaluateReplacement(e, r_(e), μ). In one embodiment, the list of potential replacements {r_(e,0), . . . , r_(e,n)} may then be sorted by, for example, decreasing value of their respective γ_(r) _(e) _(,μ) values, as shown at B606. Thereafter, an index k∈{0, n} into the list of potential replacements {r_(e,0), . . . , r_(e,n)} may be randomly selected given the probability distribution P₁, as called for by block B608. For example, the geometric (or a uniform, Gaussian, Poisson or other) distribution of parameter p: P₁˜Geom(p) may be used, which ensures that highly valued potential replacements in the sorted list are more likely to be selected than comparatively lower-valued potential replacements. Then, the chosen element ê at index k of the list may be returned as the selected replacement as shown at B610. As shown in the table above, such may be formally represented as ë ←selectReplacement(e, μ, P₁). Returning now to FIG. 5, the selected elements may then be replaced with the selected replacements, as called for by block 508. According to one embodiment, a replaceElements function may be defined that takes the original electronic text document t, the list of elements to be replaced {e_(i), . . . , e_(j)} and their replacements {(ê_(i), . . . , ê_(j)} and returns the augmented electronic text document v, formally represented as v←replaceElements(t, L, {circumflex over (L)}), with L←selectElements(t, P) of length l+1 and ∀i∈{0, l}, {circumflex over (L)}_(i)←selectReplacement(L_(i), μ, P₁).

Validation of Augmented Electronic Text Document

One embodiment validates each generated augmented electronic text document AugmentedCorpus produced to ensure that it improves the generalization of the model. If, for example, an augmented electronic text document is determined to be too noisy, it is discarded, as it is unlikely to improve the generalization of the model for which the augmented data is being produced. In the case of machine learning, the validation ensures that the label of the augmented electronic text document preserves the label of the original electronic text document. For this purpose, a validation module should be able to analyze the validity of an augmented electronic text document given the original electronic text document. Such a validation method may encompass any metric and method configured to output a metric of comparison. Consider the Compare function described in the table below:

t Original text v Augmented text {A₀, . . . , A_(m)} A list of m distinct similarity algorithms A S_(A) The similarity measure given between two texts for algorithm A Compare An algorithm that compares two electronic text documents t₁ and t₂ and outputs a similarity measure. The algorithm can combine several similarity measures {s₀, . . . , s_(n)} to output a final similarity measure S. S has the following properties   0 ≤ S ≤ 1   S(t₁, t₁) = 1   S(t₁, t₂) value increases with the similarity of t₁ and t₂ Formally, for two electronic text documents t₁ and t₂ we have:       S = Compare(t₁, t₂) T A threshold associated to the Compare method chosen

The augmented electronic text document will be kept if and only if S≥T, with S=Compare(t, v). That is, according to one embodiment, the augmented text will be kept if and only if the value of the similarity measure S (between 0 and 1 with 0 indicating completely dissimilar electronic text documents and 1 indicating complete similarity of electronic text documents) is greater or equal to the similarity threshold associated with the Compare method chosen, with the similarity measure being the result of applying the selected Compare method to the original electronic text document t and the augmented electronic text document v.

The Compare algorithm make use of the computation of one or more similarity measures S_(A) given by one or more similarity algorithms A. Two embodiments of such similarity algorithms are presented here, with the understanding that the present embodiments are not limited to those two families of algorithms, as there exists numerous ways of comparing the similarity of two texts, and all are encompassed by the present disclosure.

Semantic Similarity

Semantic similarity captures the notion of closeness of meaning between two sentences. It is often the first idea of similarity that comes to mind. As such, it will often be preferred to syntactic similarity. However, it is more difficult to capture this semantic notion, thus the results given by semantic similarity may be less precise than those given by syntactic similarity.

Embodiments are not limited by any one method of determining semantic similarity. Such methods may rely on the notion of ontology, which is the knowledge source, i.e., a set of concepts that are connected to each other. Most of the time, the ontology will be ordered hierarchically to form a taxonomy. Given this ontology, a metric of similarity may be extracted, for example, by taking into account the path length between the two concepts compared. One embodiment uses a semantic similarity measure, alone or together with a syntactical similarity measure.

Syntactic Similarity One embodiment uses a syntactic similarity measure, alone or together with a semantic similarity measure. A syntactic similarity metric measures the syntactical similarity between two electronic text documents. It is, for example, possible to calculate, given the Part-Of-Speech tag of each word in two sentences, the cosine similarity measure of those two sentences. The result is independent from the semantic meaning of the sentences, but is closely related to how those sentences are constructed.

Use Cases of Embodiments

In the context of fraud detection, the data augmentation embodiments may be applied to increase the size of the fraudulent labelled data corpus. The data augmentation embodiments presented herein are label preserving transformations. Reciprocally, these embodiments may also be applied to augment the size of the non-fraudulent labelled data corpus. Several use cases of such data augmentation techniques are presented herein. Note that herein, the term “corpus” may refer to the fraudulent labelled data corpus, the non-fraudulent labelled data corpus or both.

Merge Original Corpus and Augmented Corpus to Build Fraud Detection Model

In this exemplary embodiment, the original corpus and the augmented corpus are merged together to build a fraud detection model. With reference to FIG. 7, to do so, the original corpus 702 is augmented at 703 to produce an augmented corpus 704, as described and shown herein. The original corpus 702 and the augmented corpus 704 are then merged, at 706 to produce a merged corpus 708, which is used to generate, at 710, a model 712.

Testing a Fraud Detection Model

As shown in the block diagram of FIG. 8, the original corpus 802 may be used at 806 to build a model 810. The original corpus is used in this case to build the model 810, without relying on the augmented corpus, for validation purposes. The original corpus 802 may be augmented at 804 to generate an augmented corpus 808, which is also used to test, at 812, the model 810. This produces the test results at 814.

Use Augmented Data to Train and/or Test Users at Risk within an Organization

In this use case, the augmented data set may be used to train and/or test users at risk within an organization. Training employees with simulated attacks to increase awareness is a growing practice, in particular in the context of phishing attacks. Users within an organization may be considered at risk for advanced fraud such as CEO fraud, if they meet one or more of the following criteria:

-   -   They have direct or indirect access to confidential information,     -   They have direct or indirect access to the organization banking         accounts,     -   Their professional details (position within the organization,         email address, phone number, instant messaging identifier . . .         ) are exposed on the Internet.

The training and/or testing of users considered to be at risk may be performed by email, but also by other electronic communication means such as instant messaging, text message or even voice messages. As shown in FIG. 9, to train at-risk users within an organization, according to one embodiment, the original corpus 902 is augmented, at 904, to produce an augmented corpus 906. The original corpus 902 and the augmented corpus 906 are merged at 908 to produce a merged corpus 910, as shown in FIG. 9. Users 912 within the organization are evaluated and from those, at-risk users 916 are selected at 914 using, for example, the above-listed criteria. The merged corpus 910 may then be used to train and/or test, as shown at 918, the at-risk users 916, using one or several electronic communication modalities. This training and/or testing at 918 generates results 920, which are collected. Further action may then be taken to improve awareness of these at-risk users depending on results 920.

Accordingly, in one embodiment a computer-implemented method for augmenting an original electronic text document of a corpus of text documents may comprise receiving the original electronic text document in a computer having a memory; repeatedly translating the received original electronic text document, using at least one machine translation engine, such that each translated electronic text document is used as a basis for a subsequent translation into another language before re-translating a last-translated electronic text document back into an original language of the original electronic text document; transforming the re-translated electronic text document by selecting at least one word therein and substituting a respective synonym for each selected word to generate a synonym-replaced electronic text document; transforming the synonym-replaced electronic text document by selecting at least one word therein and substituting a respective misspelled word for each selected word to generate an augmented electronic text document; computing a similarity measure between the original electronic text document and the augmented electronic text document; determining whether the computed similarity measure is at least as great as a predetermined similarity threshold; and keeping and storing the augmented electronic text document in the memory if the computed similarity measure is at least as great as the predetermined similarity threshold and not storing the augmented electronic text document in the memory if the computed similarity measure is determined to be less than the predetermined similarity threshold.

According to further embodiments, repeatedly translating, transforming the re-translated electronic text document and transforming the synonym-replaced electronic text document may be performed out sequentially, in order. Each of the translating and transforming steps may be configured to be sequentially performed a predetermined number of times. The computer-implemented method may further comprise selecting one or more words in the re-translated or synonym-replaced electronic text document and replacing each of the selected word(s) with a respective abbreviation. The repeatedly translating, transforming the re-translated electronic text and/or transforming the synonym-replaced electronic text document may be non-deterministic in nature. Computing the similarity measure may comprise computing at least a semantic and/or syntactical similarity measure between the original electronic text document and the augmented electronic text document. The method may further comprise selecting one or more entities in the re-translated or synonym-replaced electronic text document and replacing the selected entity(ies) with a replacement entity or entities. The selected entity(ies) may comprise a first name of an individual, last name of an individual, a financial amount, a date and/or a telephone number. Other entities may be selected and replaced, according to the nature of the electronic text document, the subject matter, the industry, etc.

Another embodiment is also a computer-implemented method that may comprise establishing a directed multigraph where each vertex of a plurality of vertices is associated with a separate language, each vertex being connected to at least one other one of the plurality of vertices by an oriented edge that is indicative of a machine translation engine's ability to translate between languages associated with the vertices connected by the oriented edge with acceptable performance; storing the established directed multigraph in a memory of a computer; traversing the stored directed multigraph starting at a predetermined origin vertex associated with an original language of the original electronic text document by randomly selecting an intermediate vertex of the plurality of vertices pointed to by an oriented edge connected to the predetermined origin vertex and causing a machine translation engine to translate the original electronic text document from the original language to a language associated with the selected vertex; and continuing to traverse the directed multigraph stored in the memory of the computer as allowed (i.e., in the direction of the arrows) by the oriented edges from the intermediate vertex to successive other next-adjacent connected vertices of the plurality of vertices, each time machine translating a previously-translated electronic text document into a language associated with a randomly-selected next-adjacent vertex of the plurality of vertices until the predetermined origin vertex is selected and the previously translated electronic text document is re-translated into the original language; and storing the re-translated electronic text document in the memory of the computer as an augmented electronic text document.

The present computer-implemented method may also further comprise marking traversed vertices; and preventing the marked vertices from being traversed more than a predetermined number of times. The method may further comprise associating each directed edge between adjacent vertices with a quality indicium, and selection of a next-adjacent vertex to be traversed when at least two adjacent vertices are available for traversal may be at least partially dependent upon the quality indicium. The random selection of a next-adjacent vertex may be performed such that the probability of selecting a next-adjacent vertex connected via a directed edge associated with a lower quality indicium is lower than a probability of selecting a next-adjacent vertex connected via a directed edge associated with a comparatively higher quality indicium. The method, according to one embodiment, may further comprise fitting each of the directed edges of next adjacent vertices in a predetermined distribution of the associated quality indicium. Randomly selecting the next-adjacent vertex further may comprise preferentially selecting, in the predetermined distribution, a next adjacent vertex connected to by a directed edge associated with a higher quality indicium rather than a lower quality indicium.

According to still another embodiment, a computer-implemented method may comprise providing and storing an electronic text document in a memory of a computer and generating an augmented electronic document from the provided electronic document by iteratively:

selecting an element in the provided electronic text document;

generating a list of potential replacement elements from a source of potential replacement elements of a type of the selected element;

calculating a value of each potential replacement element in the list of potential replacement elements using a predetermined metric;

ranking the values of the potential replacement elements in the list of potential replacement elements in decreasing order of the calculated value;

randomly selecting an index into the ranked list of potential replacement elements given a probability distribution, such an index associated with a higher-ranked potential replacement element could be more likely to be selected than an index associated with a comparatively lower-ranked potential replacement element, depending on the probability distribution chosen; and

replacing the selected element in the provided electronic text document with the potential replacement element at the randomly-selected index.

The probability distribution may be, for example, a geometric, Gaussian, Poisson or other probability distribution.

Another embodiment is a computing device comprising at least one processor; at least one data storage device coupled to the at least one processor; a network interface coupled to the at least one processor and to a computer network; and a plurality of processes spawned by the at least one processor to augment an original electronic text document of a corpus of electronic text documents. The processes may include processing logic for repeatedly translating the original electronic text document, using at least one machine translation engine, such that each translated text document is used as a basis for a subsequent translation into another language before re-translating a last-translated electronic text document back into an original language of the original electronic text document; transforming the re-translated electronic text document by selecting at least one word therein and substituting a respective synonym for each selected word to generate a synonym-replaced electronic text document; transforming the synonym-replaced electronic text document by selecting at least one word therein and substituting a respective misspelled word for each selected word to generate an augmented electronic text document; computing a similarity measure between the original electronic text document and the augmented electronic text document; determining whether the computed similarity measure is at least as great as a predetermined similarity threshold; and keeping and storing the augmented text in the data storage device if the computed similarity measure is at least as great as the predetermined similarity threshold and discarding and not storing the augmented electronic text document in the data storage device if the computed similarity measure is less than the predetermined similarity threshold.

According to one embodiment, the processing logic for repeatedly translating, transforming the re-translated text and transforming the synonym-replaced electronic text document may be performed sequentially, in order. The processing logic for each of the translating and transforming steps may be configured to be sequentially executed a predetermined number of times. Processing logic may be provided for selecting one or more words in the re-translated or synonym-replaced electronic text document and replacing the selected word(s) with a respective abbreviation or abbreviations. The processing logic for at least repeatedly translating, transforming the re-translated text and transforming the synonym-replaced electronic text document may be non-deterministic—i.e., may not result in the same output despite being fed a same input. The processing logic for computing the similarity measure may comprise processing logic for computing a semantic and/or a syntactical (and/or other) similarity measure between the original electronic text document and the augmented electronic text document. Processing logic may further be provided for selecting one or more entities in the re-translated or synonym-replaced electronic text document and for replacing the selected entity(ies) with a replacement entity or entities. The selected entity(ies) may comprise a first name of an individual, last name of an individual, a financial amount, a date and/or a telephone number, to identify but a few of the myriad possibilities.

Another embodiment is a computing device comprising at least one processor; at least one data storage device coupled to the at least one processor; a network interface coupled to the at least one processor and to a computer network; a plurality of processes spawned by the at least one processor to augment an original electronic text document of a corpus of electronic text documents. The processes may include processing logic for establishing and storing, in the data storage device, a directed multigraph where each vertex of a plurality of vertices may be associated with a separate language, each vertex being connected to at least one other one of the plurality of vertices by an oriented edge that is indicative of a machine translation engine's ability to translate between languages associated with the vertices connected by the oriented edge with acceptable performance; traversing the directed multigraph starting at a predetermined origin vertex associated with an original language of the original electronic text document by randomly selecting an intermediate vertex of the plurality of vertices pointed to by an oriented edge connected to the predetermined origin vertex and causing a machine translation engine to translate the original electronic text document from the original language to a language associated with the selected vertex; continuing to traverse the directed multigraph as allowed by the oriented edges from the intermediate vertex to successive other next-adjacent connected vertices of the plurality of vertices, each time translating a previously-translated electronic text document into a language associated with a randomly-selected next-adjacent vertex of the plurality of vertices until the predetermined origin vertex is selected and the previously translated electronic text document is re-translated into the original language, the re-translated electronic text document being designated as an augmented electronic text document; and storing the augmented electronic document in the data storage device.

Processing logic may be provided for using the augmented electronic text document to train and/or test a model to detect fraudulent communications. The processing logic may be further configured for marking traversed vertices; and preventing marked vertices from being traversed more than a predetermined number of times. Processing logic may be provided for associating each directed edge between adjacent vertices with a quality indicium and selection of a next-adjacent vertex to be traversed when at least two adjacent vertices are available for traversal is at least partially dependent upon the quality indicium. The random selection of a next-adjacent vertex may be performed such that a probability of selecting a next-adjacent vertex connected via a directed edge associated with a lower quality indicium is lower than the probability of selecting a next-adjacent vertex connected via a directed edge associated with a comparatively higher quality indicium. One embodiment may further comprise processing logic for fitting each of the directed edges of next adjacent vertices in a predetermined distribution of the associated quality indicium and randomly selecting the next-adjacent vertex further may comprise preferentially selecting, in the predetermined distribution, a next adjacent vertex connected to by a directed edge associated with a higher quality indicium rather than a lower quality indicium.

FIG. 10 illustrates a block diagram of a computing device such as client computing device, email (electronic message) server, with which embodiments may be implemented. The computing device of FIG. 10 may include a bus 1001 or other communication mechanism for communicating information, and one or more processors 1002 coupled with bus 1001 for processing information. The computing device may further comprise a random-access memory (RAM) or other dynamic storage device 1004 (referred to as main memory), coupled to bus 1001 for storing information and instructions to be executed by processor(s) 1002. Main memory (tangible and non-transitory, which terms, herein, exclude signals per se and waveforms) 1004 also may be used for storing temporary variables or other intermediate information during execution of instructions by processor 1002. The computing device of FIG. 10 may also include a read only memory (ROM) and/or other static storage device 1006 coupled to bus 1001 for storing static information and instructions for processor(s) 1002. A data storage device 1007, such as a magnetic disk and/or solid-state data storage device may be coupled to bus 1001 for storing information and instructions—such as would be required to carry out the functionality shown and disclosed relative to FIGS. 1-9. The computing device may also be coupled via the bus 1001 to a display device 1021 for displaying information to a computer user. An alphanumeric input device 1022, including alphanumeric and other keys, may be coupled to bus 1001 for communicating information and command selections to processor(s) 1002. Another type of user input device is cursor control 1023, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor(s) 1002 and for controlling cursor movement on display 1021. The computing device of FIG. 10 may be coupled, via a communication interface (e.g., modem, network interface card or NIC) 1008 to the network 1026.

As shown, the storage device 1007 may include direct access data storage devices such as magnetic disks 1030, non-volatile semiconductor memories (EEPROM, Flash, etc.) 1032, a hybrid data storage device comprising both magnetic disks and non-volatile semiconductor memories, as suggested at 1031. References 1004, 1006 and 1007 are examples of tangible, non-transitory computer-readable media having data stored thereon representing sequences of instructions which, when executed by one or more computing devices, implement the data augmentation methods described and shown herein. Some of these instructions may be stored locally in a client computing device, while others of these instructions may be stored (and/or executed) remotely and communicated to the client computing over the network 1026. In other embodiments, all of these instructions may be stored locally in the client or other standalone computing device, while in still other embodiments, all of these instructions are stored and executed remotely (e.g., in one or more remote servers) and the results communicated to the client computing device. In yet another embodiment, the instructions (processing logic) may be stored on another form of a tangible, non-transitory computer readable medium, such as shown at 1028. For example, reference 1028 may be implemented as an optical (or some other storage technology) disk, which may constitute a suitable data carrier to load the instructions stored thereon onto one or more computing devices, thereby re-configuring the computing device(s) to one or more of the embodiments described and shown herein. In other implementations, reference 1028 may be embodied as an encrypted solid-state drive. Other implementations are possible.

Embodiments of the present invention are related to the use of computing devices to implement novel data augmentation techniques to enrich a corpus of text documents to, for example, improve fraud detection in maliciously-motivated communications. According to one embodiment, the methods, devices and systems described herein may be provided by one or more computing devices in response to processor(s) 1002 executing sequences of instructions, embodying aspects of the computer-implemented methods shown and described herein, contained in memory 1004. Such instructions may be read into memory 1004 from another computer-readable medium, such as data storage device 1007 or another (optical, magnetic, etc.) data carrier, such as shown at 1028. Execution of the sequences of instructions contained in memory 1004 causes processor(s) 1002 to perform the steps and have the functionality described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the described embodiments. Thus, embodiments are not limited to any specific combination of hardware circuitry and software. Indeed, it should be understood by those skilled in the art that any suitable computer system may implement the functionality described herein. The computing devices may include one or a plurality of microprocessors working to perform the desired functions. In one embodiment, the instructions executed by the microprocessor or microprocessors are operable to cause the microprocessor(s) to perform the steps described herein. The instructions may be stored in any computer-readable medium. In one embodiment, they may be stored on a non-volatile semiconductor memory external to the microprocessor, or integrated with the microprocessor. In another embodiment, the instructions may be stored on a disk and read into a volatile semiconductor memory before execution by the microprocessor.

Portions of the detailed description above describe processes and symbolic representations of operations by computing devices that may include computer components, including a local processing unit, memory storage devices for the local processing unit, display devices, and input devices. Furthermore, such processes and operations may utilize computer components in a heterogeneous distributed computing environment including, for example, remote file servers, computer servers, and memory storage devices. These distributed computing components may be accessible to the local processing unit by a communication network.

The processes and operations performed by the computer include the manipulation of data bits by a local processing unit and/or remote server and the maintenance of these bits within data structures resident in one or more of the local or remote memory storage devices. These data structures impose a physical organization upon the collection of data bits stored within a memory storage device and represent electromagnetic spectrum elements.

A process, such as the computer-implemented data augmentation methods described and shown herein, may generally be defined as being a sequence of computer-executed steps leading to a desired result. These steps generally require physical manipulations of physical quantities. Usually, though not necessarily, these quantities may take the form of electrical, magnetic, or optical signals capable of being stored, transferred, combined, compared, or otherwise manipulated. It is conventional for those skilled in the art to refer to these signals as bits or bytes (when they have binary logic levels), pixel values, works, values, elements, symbols, characters, terms, numbers, points, records, objects, images, files, directories, subdirectories, or the like. It should be kept in mind, however, that these and similar terms should be associated with appropriate physical quantities for computer operations, and that these terms are merely conventional labels applied to physical quantities that exist within and during operation of the computer.

It should also be understood that manipulations within the computer are often referred to in terms such as adding, comparing, moving, positioning, placing, illuminating, removing, altering and the like. The operations described herein are machine operations performed in conjunction with various input provided by a human or artificial intelligence agent operator or user that interacts with the computer. The machines used for performing the operations described herein include local or remote general-purpose digital computers or other similar computing devices.

In addition, it should be understood that the programs, processes, methods, etc. described herein are not related or limited to any particular computer or apparatus nor are they related or limited to any particular communication network architecture. Rather, various types of general-purpose hardware machines may be used with program modules constructed in accordance with the teachings described herein. Similarly, it may prove advantageous to construct a specialized apparatus to perform the method steps described herein by way of dedicated computer systems in a specific network architecture with hard-wired logic or programs stored in nonvolatile memory, such as read only memory.

While certain example embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the embodiments disclosed herein. Thus, nothing in the foregoing description is intended to imply that any particular feature, characteristic, step, module, or block is necessary or indispensable. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the embodiments disclosed herein. 

1. A computer-implemented method for augmenting an original electronic text document of a corpus of electronic text documents, comprising: receiving the original electronic text document in a computer having a memory; repeatedly translating the received original electronic text document, using at least one machine translation engine, such that each translated electronic text document is used as a basis for a subsequent translation into another language before re-translating a last-translated electronic text document back into an original language of the original electronic text document; transforming the re-translated electronic text document by selecting at least one word therein and substituting a respective synonym for each selected word to generate a synonym-replaced electronic text document; transforming the synonym-replaced electronic text document by selecting at least one word therein and substituting a respective misspelled word for each selected word to generate an augmented electronic text document; computing a similarity measure between the original electronic text document and the augmented electronic text document; determining whether the computed similarity measure is at least as great as a predetermined similarity threshold; and keeping and storing the augmented electronic text document in the memory if the computed similarity threshold is at least as great as the predetermined similarity threshold and not storing the augmented electronic text document in the memory if the computed similarity threshold is less than the predetermined similarity threshold.
 2. The computer-implemented method of claim 1, wherein repeatedly translating, transforming the re-translated electronic text document and transforming the synonym-replaced electronic text document are performed sequentially, in order.
 3. The computer-implemented method of claim 1, wherein each of the translating and transforming steps is configured to be sequentially performed a predetermined number of times.
 4. The computer-implemented method of claim 1, further comprising selecting at least one word in the re-translated or synonym-replaced electronic text document and replacing the selected at least one word with a respective abbreviation.
 5. The computer-implemented method of claim 1, further comprising selecting at least one entity in the re-translated or synonym-replaced electronic text document and replacing the selected at least one entity with a replacement entity.
 6. The computer-implemented method of claim 5, wherein the selected at least one entity comprises at least one of a first name of an individual, last name of an individual, a financial amount, a date and a telephone number.
 7. The computer-implemented method of claim 1, wherein computing the similarity measure comprises computing at least a semantic similarity measure between the original electronic text document and the augmented electronic text document.
 8. The computer-implemented method of claim 1, wherein computing the similarity measure comprises computing at least a syntactical similarity measure between the original electronic text document and the augmented electronic text document.
 9. A computer-implemented method, comprising: establishing a directed multigraph where each vertex of a plurality of vertices is associated with a separate language, each vertex being connected to at least one other one of the plurality of vertices by an oriented edge that is indicative of a machine translation engine's ability to translate between languages associated with the vertices connected by the oriented edge with acceptable performance; storing the established directed multigraph in a memory of a computer; traversing the stored directed multigraph starting at a predetermined origin vertex associated with an original language of the original electronic text document by randomly selecting an intermediate vertex of the plurality of vertices pointed to by an oriented edge connected to the predetermined origin vertex and causing a machine translation engine to translate the original electronic text document from the original language to a language associated with the selected vertex; continuing to traverse the directed multigraph stored in the memory of the computer as allowed by the oriented edges from the intermediate vertex to successive other next-adjacent connected vertices of the plurality of vertices, each time machine translating a previously-translated electronic text document into a language associated with a randomly-selected next-adjacent vertex of the plurality of vertices until the predetermined origin vertex is selected and the previously translated electronic text document is re-translated into the original language; and storing the re-translated electronic text document in the memory of the computer as an augmented electronic text document.
 10. The computer-implemented method of claim 9, further comprising adding the augmented electronic text document to an existing corpus of electronic text documents to train and/or test an electronic model to detect fraudulent communications.
 11. The computer-implemented method of claim 9, further comprising: marking traversed vertices; and preventing the marked vertices from being traversed more than a predetermined number of times.
 12. The computer-implemented method of claim 9, further comprising associating each directed edge between adjacent vertices with a quality indicium, and wherein selection of a next-adjacent vertex to be traversed when at least two adjacent vertices are available for traversal is at least partially dependent upon the quality indicium.
 13. The computer-implemented method of claim 12, wherein randomly selecting a next-adjacent vertex is performed such that a probability of selecting a next-adjacent vertex connected via a directed edge associated with a lower quality indicium is lower than a probability of selecting a next-adjacent vertex connected via a directed edge associated with a comparatively higher quality indicium.
 14. The computer-implemented method of claim 12, further comprising fitting each of the directed edges of next adjacent vertices in a predetermined distribution of the associated quality indicium and wherein randomly selecting the next-adjacent vertex further comprises preferentially selecting, in the predetermined distribution, a next adjacent vertex connected to by a directed edge associated with a higher quality indicium rather than a lower quality indicium.
 15. A computer-implemented method, comprising: providing and storing an electronic text document in a memory of a computer and generating an augmented electronic text document from the provided electronic text document by iteratively: selecting an element in the provided electronic text document; generating a list of potential replacement elements from a source of potential replacement elements of a type of the selected element; calculating a value of each potential replacement element in the list of potential replacement elements using a predetermined metric; ranking the values of the potential replacement elements in the list of potential replacement elements in decreasing order of the calculated value; randomly selecting an index into the ranked list of potential replacement elements given a probability distribution, such that an index associated with a higher-ranked potential replacement element is more likely to be selected than an index associated with a comparatively lower-ranked potential replacement element; and replacing the selected element in the provided electronic text document with the potential replacement element at the randomly-selected index.
 16. The computer-implemented method of claim 15, wherein the probability distribution is a one of a geometric, uniform, Gaussian and Poisson probability distribution.
 17. A computing device comprising: at least one processor; at least one data storage device coupled to the at least one processor; a network interface coupled to the at least one processor and to a computer network; a plurality of processes spawned by the at least one processor to augment an original electronic text document of a corpus of electronic text documents, the processes including processing logic for: repeatedly translating the original electronic text document, using at least one machine translation engine, such that each translated text document is used as a basis for a subsequent translation into another language before re-translating a last-translated electronic text document back into an original language of the original electronic text document; transforming the re-translated electronic text document by selecting at least one word therein and substituting a respective synonym for each selected word to generate a synonym-replaced electronic text document; transforming the synonym-replaced electronic text document by selecting at least one word therein and substituting a respective misspelled word for each selected word to generate an augmented electronic text document; computing a similarity measure between the original electronic text document and the augmented electronic text document; determining whether the computed similarity measure is at least as great as a predetermined similarity threshold; and keeping and storing the augmented text in the data storage device if the computed similarity measure is at least as great as the predetermined similarity threshold and discarding and not storing the augmented electronic text document in the data storage device if the computed similarity measure is less than the predetermined similarity threshold.
 18. The computing device of claim 17, wherein the processing logic for repeatedly translating, transforming the re-translated text and transforming the synonym-replaced electronic text document is performed sequentially, in order.
 19. The computing device of claim 17, wherein the processing logic for each of the translating and transforming steps is configured to be sequentially executed a predetermined number of times.
 20. The computing device of claim 17, further comprising processing logic for selecting at least one word in the re-translated or synonym-replaced electronic text document and replacing the selected at least one word with a respective abbreviation.
 21. The computing device of claim 17, further comprising processing logic for selecting at least one entity in the re-translated or synonym-replaced electronic text document and for replacing the selected at least one entity with a replacement entity.
 22. The computing device of claim 21, wherein the selected at least one entity comprises at least one of a first name of an individual, last name of an individual, a financial amount, a date and a telephone number.
 23. The computing device of claim 17, wherein the processing logic for computing the similarity measure comprises processing logic for computing at least a semantic similarity measure between the original electronic text document and the augmented electronic text document.
 24. The computing device of claim 17, wherein the processing logic for computing the similarity measure comprises processing logic for computing at least a syntactical similarity measure between the original electronic text document and the augmented electronic text document.
 25. A computing device comprising: at least one processor; at least one data storage device coupled to the at least one processor; a network interface coupled to the at least one processor and to a computer network; a plurality of processes spawned by the at least one processor to augment an original electronic text document of a corpus of electronic text documents, the processes including processing logic for: establishing and storing, in the data storage device, a directed multigraph where each vertex of a plurality of vertices is associated with a separate language, each vertex being connected to at least one other one of the plurality of vertices by an oriented edge that is indicative of a machine translation engine's ability to translate between languages associated with the vertices connected by the oriented edge with acceptable performance; traversing the directed multigraph starting at a predetermined origin vertex associated with an original language of the original electronic text document by randomly selecting an intermediate vertex of the plurality of vertices pointed to by an oriented edge connected to the predetermined origin vertex and causing a machine translation engine to translate the original electronic text document from the original language to a language associated with the selected vertex; continuing to traverse the directed multigraph as allowed by the oriented edges from the intermediate vertex to successive other next-adjacent connected vertices of the plurality of vertices, each time translating a previously-translated electronic text document into a language associated with a randomly-selected next-adjacent vertex of the plurality of vertices until the predetermined origin vertex is selected and the previously translated electronic text document is re-translated into the original language, the re-translated electronic text document being designated as an augmented electronic text document; and storing the augmented electronic document in the data storage device.
 26. The computing device of claim 25, further comprising processing logic for applying the augmented electronic text document to a model to detect fraudulent communications.
 27. The computing device of claim 25, further comprising processing logic for: marking traversed vertices; and preventing marked vertices from being traversed more than a predetermined number of times.
 28. The computing device of claim 25, further comprising processing logic for associating each directed edge between adjacent vertices with a quality indicium and wherein selection of a next-adjacent vertex to be traversed when at least two adjacent vertices are available for traversal is at least partially dependent upon the quality indicium.
 29. The computing device of claim 28, wherein randomly selecting a next-adjacent vertex is performed such that a probability of selecting a next-adjacent vertex connected via a directed edge associated with a lower quality indicium is lower than a probability of selecting a next-adjacent vertex connected via a directed edge associated with a comparatively higher quality indicium.
 30. The computing device of claim 28, further comprising processing logic for fitting each of the directed edges of next adjacent vertices in a predetermined distribution of the associated quality indicium and wherein randomly selecting the next-adjacent vertex further comprises preferentially selecting, in the predetermined distribution, a next adjacent vertex connected to by a directed edge associated with a higher quality indicium rather than a lower quality indicium. 